using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace ProjectManageSystemApi.DbEntity {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "worker_type_info", DisableSyncStructure = true)]
	public partial class WorkerTypeInfo {

		[JsonProperty, Column(Name = "id", DbType = "int unsigned", IsPrimary = true, IsIdentity = true)]
		public uint Id { get; set; }

		/// <summary>
		/// 工种类型
		/// </summary>
		[JsonProperty, Column(Name = "name")]
		public string Name { get; set; }
		
		[JsonProperty, Column(Name = "desc")]
		public string Desc { get; set; }

		/// <summary>
		/// 参考价格
		/// </summary>
		[JsonProperty, Column(Name = "price")]
		public decimal Price { get; set; }

		/// <summary>
		/// 0: 存在，100: 删除
		/// </summary>
		[JsonProperty, Column(Name = "status")]
		public byte Status { get; set; }

	}

}
